//
//  TSSharedWebViewContainer.h
//  AppCommonJSCollect
//
//  Created by qian on 2023/10/20.
//  Copyright © 2023 dvlproad. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TSSharedBaseWebViewContainer.h"

NS_ASSUME_NONNULL_BEGIN

@interface TSSharedWebViewContainer : TSSharedBaseWebViewContainer {
    
}


+ (TSSharedWebViewContainer *)sharedInstance;

- (void)setupJSHandle_closeMiniProgram:(void (^)(void))closeMiniProgramHandle
                       hideMiniProgram:(void (^)(void))hideMiniProgramHandle
              openAppUserDetail1Handel:(void (^)(NSString *userId))openAppUserDetail1Handel
              openAppUserDetail2Handel:(void (^)(NSString *userId))openAppUserDetail2Handel;

/**
 *  加载网络网页/本地网页
 *
 *  @param requestUrl   网络网页/本地地址
 */
- (void)reloadUrl:(NSString *)requestUrl;
- (void)reloadNetworkWebWithUrl:(NSString *)requestUrl networkEnable:(BOOL)networkEnable NS_UNAVAILABLE;
- (void)reloadLocalWebWithUrl:(NSString *)requestUrl NS_UNAVAILABLE;



@end

NS_ASSUME_NONNULL_END
